package com.ohs.bll.service;

import java.util.Date;
import java.util.List;

import com.ohs.dal.model.Booking;

public interface BookingService {
	public void saveOrUpdate(Booking entity);

	public Booking get(long id);

	public List<Booking> list();
	
	public List<Booking> findByRoom(long roomId);
	
	public List<Booking> findByDate(Date bookingDate);
	
	public void udpate(Booking booking);
	
	public boolean delete(Long bookingId);
	
	public int countTodayBooking(long roomId, Date date);
	
	public List<Booking> findByRoomAndDate(long roomId, Date date);
}
